ProcGen & Scene Static Upload Memory Optimizations#1061
Open
RuffledPlume wants to merge 110 commits into
Open
Conversation
82dcec3 to
19f993d
Compare
fbd66a6 to
cb22396
Compare
aaaf37e to
7a1dd70
Compare
Switched from ThreadLocal to ConcurrentPool for Generator Contexts
… input since it'd effect the result
7a1dd70 to
3e7c711
Compare
999c2a1 to
4e4b2df
Compare
580945a to
69ef8a0
Compare
bd2a320 to
620b787
Compare
620b787 to
8520453
Compare
AsyncCachedModel now has a fixed count of 32, the config no longer repersents the amount of memory used since the caching uses the Pooled Arrays
7f52090 to
a40e100
Compare
7f48985 to
2d530e6
Compare
2d530e6 to
b89d4b6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main:
PR:
Key Changes
Introduces Primitive Collections
Int2IntHashMapInt2ObjectHashMapIntHashMapUsing Base Java Collections with generic type means any function call taking a key/value of that type will allocate since it will need to box the primitive type with the object version, which in hot path leads to MBs of garbage being generated.
ProceduralGenerator
isWaterTile&skipTilearrays int abyte[][][] tileFlagsMainTileOverridesGeneratorArea